package ComputerWork;

public class ComputerStore {

	public static void main(String[] args) {
		CPU cpu1 = new IntelCPU("intel1", "4core", 500);
		CPU cpu2 = new AMDCPU("AMD1", "6core", 750);
		RAM ram1 = new SamsungRAM("Samsung1", 4, 50);
		RAM ram2 = new KingstonRAM("Kingston1", 8, 150);
		Disk disk1 = new SeagateDisk("Seagate1", 512, 30);
		Disk disk2 = new WestDigitalsDisk("WestDigitals1", 1024, 65);
		Board board1 = new AsusBoard("Asus1", 100, 100);
		Board board2 = new GigabyteBoard("Gigabyte1", 150, 200);
		
		Computer pc1 = new Computer(cpu1, ram1, disk1, board1);
		Computer pc2 = new Computer(cpu2, ram2, disk2, board2);
		
		System.out.println("Computer1: ");
		pc1.show();
		System.out.println();
		System.out.println("Computer2: ");
		pc2.show();
	}

}
